Rework how we get the event window: don't get the window from the NSEvent,
authorRichard Hult <richard@imendio.com>
Wed, 6 Jun 2007 18:42:07 +0000 (18:42 +0000)
committerRichard Hult <rhult@src.gnome.org>
Wed, 6 Jun 2007 18:42:07 +0000 (18:42 +0000)
commitec32b2aaa3ea1c7162209e56bae950ff16def577
tree077bdac3b0ef561172a7ec5fb7f0227dfcbfdbff
parented8d0fc69161066c0266b5bc8a5d58ae99a14745
Rework how we get the event window: don't get the window from the NSEvent,

2007-06-06  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
(find_window_for_ns_event): Rework how we get the event window:
don't get the window from the NSEvent, always use the mouse window
instead. Fix mouse window tracking by only using MouseExited for
non-gdk windows, and to always use the NSEvent window to get the
right gdk window in MouseEntered. Add comments to the code. Fixes bug
#350460.

svn path=/trunk/; revision=18065
ChangeLog
gdk/quartz/gdkevents-quartz.c